var countdown=60; 
	function settime(obj){
		if (countdown == 0) { 
		obj.attr("disabled",false); 
		obj.text("获取验证码"); 
		countdown = 60; 
		} else { 
		obj.attr("disabled", true); 
		obj.text("重新发送(" + countdown + ")"); 
		countdown--; 
		setTimeout(function() { 
		settime(obj) 
		},1000) 
		} 
		
	}
$('.user-phone-button').click(function(){
		var obj = $(this);
    	settime(obj);
})
$('.user-phone-button1').click(function(){
		var obj = $(this);
    	settime(obj);
})
